﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Blog.Controls
{
    public partial class FindControl : System.Web.Mvc.ViewUserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {            
            //bool findHeadersValue = true;
            //object val = Cache.Get("FindHeaders");
            //if (val == null)
            //    Cache.Insert("FindHeaders", findHeadersValue);
            //else
            //    findHeadersValue = Convert.ToBoolean(val);

            //this.findHeaders.Checked = findHeadersValue;

            //bool findContextValue = true;
            //val = Cache.Get("FindContext");
            //if (val == null)
            //    Cache.Insert("FindContext", findContextValue);
            //else
            //    findContextValue = Convert.ToBoolean(val);

            //this.findContext.Checked = findContextValue;
        }   
    }
}
